home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Headers / misckit / miscgiskit / MiscCylindricalCoord.h < prev    next >
Encoding:
Text File  |  1995-07-08  |  1.1 KB  |  38 lines

  1. /*======================= MiscCylindricalCoord.h ============================*/
  2. /* MiscCylindricalCoord class contains and supports values representing
  3.    locations in a Cylindrical coordinate system.
  4.  
  5.    DMA Release 0.8, Copyright @1993 by Genesis Project, Ltd. All Rights
  6.    Reserved. For further information on terms and conditions see:
  7.         Documentation/GISKit/Agreements-Legal-README
  8.  
  9. HISTORY
  10. 25-Feb-93  Dale Amon at GPL
  11.        Created.
  12. */
  13.  
  14. #import <appkit/appkit.h>
  15. #import <misckit/miscgiskit.h>
  16.  
  17. /* ordering of coordinates in storage */
  18. #define MISC_RADIUS_CYL    0        /* radius of cylinder */
  19. #define MISC_THETA_CYL    1        /* angle in xy plane */
  20. #define MISC_Z_CYL        2        /* hieght on cylinder access */
  21.  
  22. @interface MiscCylindricalCoord:MiscMathCoord
  23. {
  24. }
  25.  
  26. -setCoordRadius: (double) r  thetaDegrees: (double)  theta z: (double)  z;
  27. -setCoordRadius: (double) r  thetaRadians: (double)  theta z: (double)  z;
  28.  
  29. -coordRadius:    (double*) r thetaDegrees: (double*) theta z: (double*) z;
  30. -coordRadius:    (double*) r thetaRadians: (double*) theta z: (double*) z;
  31.  
  32. -(double) radius;
  33. -(double) thetaRadians;
  34. -(double) thetaDegrees;
  35. -(double) zCoord;
  36.  
  37. @end
  38.